home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Animation How-To
/
Animation How-to CD.iso
/
READ.ME
Wrap
Text File
|
1994-01-01
|
32KB
|
622 lines
===============================READ.ME===========================
This CD is organized into 4 basic directories:
1) PLY -Alexander Enzmanns ray tracer program POLYRAY v 1.6a.
Eight separate chapter directories off this one are
further broken down into separate topics, containing
the source code for all the flics in the book.
2) DTA -Dave's TGA Animator to create flics from a series of TGA's
It actually does a great deal more than that, so be sure
to read the DOC's.
3) AAPLAYHI -Autodesks Flic/GIF viewer. It requires configuration
before use but it works with almost any video system.
4) FLY -All the actual flics (about 480 meg)
INSTALLATION
It's unlikely you'll want to load the flics on your hard drive, but you'll
need to transfer the first three items to your hard drive before using
them. This requires about 5 meg of free hard disk space.
There is no install program, it's simply a matter of copying these
files with the XCOPY command to your hard drive. For example, assuming the
CD-ROM drive is E: and your hard drive is C:, create a directory on the
C: drive called \PLY,
md \PLY
change to that directory
cd \PLY
and type:
xcopy e:\PLY\*.* /s
This will transfer everything automatically, including the directory
structure. You might also want to copy only one chapter at a time.
This could be accomplished by:
xcopy e:\PLY\CHAPTER1\*.* /s
Repeat this process for both the \DTA and \AAPLAYHI directories. Create
directories on your hard drive and then xcopy /s the files over to the
hard drive.
PATHS
In order to run DTA and AAPLAYHI, they either must be in your DOS PATH
or be called from a batch file. I personally have a \TOOLS directory
where DTA resides, and a PATH statement in my AUTOEXEC.BAT file reads:
C:\;C:\DOS;C:\TOOLS...
AAPLAYHI is such a mouthful that I have a batch file called AA.BAT in
my tools directory that reads:
\AAPLAYHI\AAPLAYHI %1
This lets me type AA followed by either a script file or a flic file
name. Using a batch file allows me to run the flic viewer without having
to lengthen my PATH statement to include \AAPLAYHI.
Another batch file I use is PR.BAT (also in my tools directory), that
contains the line
\PLY\POLYRAY %1.PI %2 %3 %4 %5 %6 %7 %8
This calls Polyray simply by entering PR and the name of the data
file without the .PI extension. The additional %#'s allow command line
options to be passed to Polyray. The one I use most is -R, but you can
also set most important variables on the command line. I usually use
options defined in POLYRAY.INI to control most variables. See the
Polyray .DOC's for more details.
\FLY
All the flics in the book are in the FLY directory. They take up quite a
bit of room. Unless you have the spare space, you'll probably want to
leave them on the CD and view them from there.
CD data transfer rates are terribly slow, too slow to play most flics
smoothly. You might copy individual flics to a temporary holding area
on your hard drive (\TEMP or \FLICS) and watch them from there.
Calling AAPLAYHI without an argument allows you to LOAD a flic first into
memory, making the playback much smoother.
The script files on the CD that play all the flics sequentially were
written to allow a quick overview. However, they don't specify preloading
the flics into memory.
If the flic you wish to view is larger than available RAM, AAPLAYHI will
inform you that it can't find enough memory, and ask if you want to view
it directly from the disk. A batch file that preloaded all the flics first
would have produced a long series of "can't load" messages on most systems,
so a simpler version was used by default. If you have lots of RAM, edit
the supplied script files (.SCR) with "loadflic" and "freeflic"
options:
loadflic \FLY\CHAPTER1\COIN\FLIP.FLI
\FLY\CHAPTER1\COIN\COIN.FLI -L 100
freeflic \FLY\CHAPTER1\COIN\FLIP.FLI
loadflic \FLY\CHAPTER1\COINZ\FLIP.FLI
\FLY\CHAPTER1\COIN\COINZ.FLI -L 100
freeflic \FLY\CHAPTER1\COINZ\FLIP.FLI
...
It will play the flics much faster, but there will be a load pause before
each image moves.
BONUS
A bonus track of recent or interesting flics has been included, with a
subdirectory /SRC off it containing most (but not all) of the source code
for these flics. You should be able to figure out most of the effects
yourself, and when debating whether to omit these flics or scrounge the
tapes to find the sources, I decided to find as much as I could and leave
it at that. REFLEX is my current favorite, and the source for that is
included.
LAST MINUTE ITEMS - Don't worry about these, I already have.
9CROSS7.FLI in the \CHAPTER7\STARS directory is an animation created
with Polyray 1.5. This requires a bug that Alexander fixed in v 1.6
It's included just to show you what the original animation looked like.
No source is included, and anyway having two versions of Polyray on
the disc would have been confusing.
SHATTER was extended to 192 triangles after that section was completed.
All the necessary code to extend it has been included.
The TESTANIM animation should probably be slowed way down (/S6).
SWARM needs to rotate. Define the mass as a single object and do
a rotate on it.
ANGRY is better if it doesn't flicker. Try disabling the texture flipping
code.
Many of the developmental animations for VOLCANO are included without
the corresponding code. The final animaiton code is included, but I
couldn't find the developmental code. Sorry, some of those are fun.
The various MTV data files don't necessarily correspond to the numbers on
the flics.
CLRSPACE in chapter6\sphere concerns visualizing the default colors in
Polyray. An RGB cube with the color indices controlling the positions
of the spheres was used to generate the image. It's included since it
deals with the subject of color space, but isn't covered otherwise in
that section.
The TUNL animation runs 479 frames - for a smooth loop point, delete the
last two frames.
DIRECTORIES
The PLY and FLY directories have identical subdirectoy structures. One
contains the data files, the other one the flics. The following listing
shows the parallel structure.
=========== ===========
FLICS CODE
=========== ===========
\FLY\ALL \PLY\ADDENDUM
\FLY\ALL.SCR \PLY\COLOR.DOC
\FLY\BONUS.SCR \PLY\COLORS.INC
\FLY\CHAPTER1.SCR \PLY\POLYRAY.DOC
\FLY\CHAPTER2.SCR \PLY\POLYRAY.EXE
\FLY\CHAPTER3.SCR
\FLY\CHAPTER4.SCR
\FLY\CHAPTER5.SCR
\FLY\CHAPTER6.SCR
\FLY\CHAPTER7.SCR
\FLY\CHAPTER8.SCR
\FLY\README
\FLY\CHAPTER1\COIN \PLY\CHAPTER1\COIN
\FLY\CHAPTER1\COIN\COINZ.FLC \PLY\CHAPTER1\COIN\AA.CFG
\FLY\CHAPTER1\COIN\COINZ.FLI \PLY\CHAPTER1\COIN\COIN.PI
\FLY\CHAPTER1\COIN\COINZ2.FLC \PLY\CHAPTER1\COIN\COIN1.PI
\FLY\CHAPTER1\COIN\COINZ2.FLI \PLY\CHAPTER1\COIN\COIN2.PI
\FLY\CHAPTER1\COIN\FLIP.FLI \PLY\CHAPTER1\COIN\COIN3.PI
\PLY\CHAPTER1\COIN\COIN4.PI
\PLY\CHAPTER1\COIN\COIN5.PI
\PLY\CHAPTER1\COIN\POLYRAY.INI
\FLY\CHAPTER1\TEST \PLY\CHAPTER1\TEST
\FLY\CHAPTER1\TEST\CLOCK.FLI \PLY\CHAPTER1\TEST\POLYRAY.INI
\FLY\CHAPTER1\TEST\SMLCLOCK.FLI \PLY\CHAPTER1\TEST\TESTANIM.PI
\FLY\CHAPTER1\TUMBLE